<?php
class ConstructorDemo {

    public function ConstructorDemo(){
        echo "old constructor\n";
    }
}
new ConstructorDemo();
